import wepy from 'wepy';

import http from '../utils/http'
const urlPrefix = wepy.$instance.globalData.urlPrefix;
export default class base {
  static baserUrl = `${urlPrefix}`;
  static get = http.get.bind(http);
  static post = http.post.bind(http);
  static put = http.put.bind(http);
  static delete = http.delete.bind(http);
}
